A General and Efficient Implementation of Geometric Operators and Predicates
نویسندگان
چکیده
Shape and location of objects in a spatial database are commonly represented by geometric data such as points, lines and regions. Numerous geometric operators and predicates have been proposed for spatial database systems. Existing work on their implementation concentrate on individual operators and predicates. This approach makes the realization of geometric operators and predicates in a spatial database system diicult since they are diverse and their implementation in general are complex. In this paper, we present a simple plane-sweep algorithm that can be easily modiied to realize eeciently a set of frequently used line-region and region-region geometric operators and predicates. The design of this uniied algorithm is based on the observation that the covering of elementary regions along the sweep line are updated locally and the implementation of these operators and predicates diier only with the output actions at an intersection point. Any geometric operator or predicate, the output of which can be determined by examining incident edges and covering information at intersection points, can be implemented easily with the algorithm. To demonstrate its generality, extendibility, simplicity and eeciency, we concentrate on several popular geometric operators and predicates. All these operators and predicates can be realized in O((N + I) logN) time in the worst case, where N is the number of edges in the operands and I is the number of intersecting pairs. The proposed algorithm is fully implemented in C++ and is tested on a Sun workstation. Although the paper focuses on operators and predicates involving at most two regions, this algorithm can be generalized nicely to r regions, where r>2. We describe what changes are needed to make to the basic algorithm to accommodate this generalization.
منابع مشابه
The predicates of the Apollonius diagram: Algorithmic analysis and implementation
We study the predicates involved in an efficient dynamic algorithm for computing the Apollonius diagram in the plane, also known as the additively weighted Voronoi diagram. We present a complete algorithmic analysis of these predicates, some of which are reduced to simpler and more easily computed primitives. This gives rise to an exact and efficient implementation of the algorithm, that handle...
متن کاملThe Interlanguage of Persian Learners of Italian: a Focus on Complex Predicates
This paper aims at investigating the acquisition of Italian complex predicates by native speakers of Persian. Complex predication is not as pervasive a phenomenon in Italian as it is in Persian. Yet Italian native speakers use complex predicates productively; spontaneous data show that Persian learners of Italian seem to be perfectly aware of Italian complex predicates and use this familiar fea...
متن کاملInterval Arithmetic: an Efficient Implementation and an Application to Computational Geometry
We discuss interval techniques for speeding up the exact evaluation of geometric predicates and describe a C++ implementation of interval arithmetic that is strongly innuenced by the rounding modes of the widely used IEEE 754 standard. Using this approach we engineer an eecient oating point lter for the computation of geometric predicates. We validate our approach experimentally, comparing it w...
متن کاملOne Sided Error Predicates in Geometric Computing
A conservative implementation of a predicate returns true only if the exact predicate is true. That is, we accept a one sided error for the implementation. For geometric predicates, such as orientationor incircle-tests, this allows efficient floating point implementations of the predicates with rare occurrences of the one sided error. We discuss the use of such conservative implementations for ...
متن کاملA robust aggregation operator for multi-criteria decision-making method with bipolar fuzzy soft environment
Molodtsov initiated soft set theory that provided a general mathematicalframework for handling with uncertainties in which we encounter the data by affix parameterized factor during the information analysis as differentiated to fuzzy as well as bipolar fuzzy set theory.The main object of this paper is to lay a foundation for providing a new application of bipolar fuzzy soft tool in ...
متن کامل